package com.micai.springboot.entity.blog;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.micai.springboot.base.BizEntity;

import java.sql.Timestamp;

/**
 * @Auther: zhaoxinguo
 * @Date: 2018/10/25 16:34
 * @Description: 博客浏览记录表
 */
@TableName("bg_browse_record")
public class BlogBrowseRecordEntity extends BizEntity<BlogBrowseRecordEntity> {
    /**
     * 博客内容ID
     */
    @TableField("content_id")
    private Long contentId;
    /**
     * 浏览人ID
     */
    @TableField("browse_id")
    private Long browseId;
    /**
     * 最后一次浏览时间
     */
    @TableField("last_browse_time")
    private Timestamp lastBrowseTime;

    public Long getContentId() {
        return contentId;
    }

    public void setContentId(Long contentId) {
        this.contentId = contentId;
    }

    public Long getBrowseId() {
        return browseId;
    }

    public void setBrowseId(Long browseId) {
        this.browseId = browseId;
    }

    public Timestamp getLastBrowseTime() {
        return lastBrowseTime;
    }

    public void setLastBrowseTime(Timestamp lastBrowseTime) {
        this.lastBrowseTime = lastBrowseTime;
    }
}
